﻿ <script type="text/javascript" src='@Url.Content("~/Scripts/jquery.Xslider.js")'></script>
 <script type="text/javascript" src='@Url.Content("~/Scripts/user/jqueryAd.js")'></script>

<style type="text/css">
    .panel_content
    {
        border:1px solid #d3e4f6;border-top:none;
    }
</style>
<table style="margin-top: -1px; margin-left: auto; margin-right: auto; width: 100%; height: 100%; table-layout: fixed;">
    <tr>
        <td>
            <table style="margin-top: -1px; margin-left: auto; margin-right: auto; width: 100%; height: 340px; table-layout: fixed;">
                <tr style="vertical-align: top; text-align: left;">
                    <td style="width: 500px; vertical-align: top;" class="panel_content">
                        @*@Html.Action("ReportPartialView")*@
                        @Html.Action("WorkDynamicView")

                    </td>
                    <td style="width: 400px;text-align:center" class="panel_content">
                        @Html.Action("EventListPartialView")
                    </td>
                    <td  class="panel_content">
                        <div>
                            @Html.Action("NewCarPartialView")
                        </div>
                        <div>
                            @Html.Action("FilePartialView")
                        </div>

                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td>
            <table style="margin-left: auto; margin-right: auto; width: 100%; height: 50%; table-layout: fixed;">
                <tr style="vertical-align: top; text-align: left;">
                    <td style="width: 33%;" class="panel_content">
                        @Html.Action("ReportPartialView")
                    </td>
                    <td style="width: 33%;" class="panel_content">
                        @Html.Action("SecPartialView")
                    </td>
                    <td style="width: 34%;" class="panel_content">
                        @Html.Action("InsurePartialView")
                    </td>
                </tr>

            </table>

        </td>
    </tr>

</table>
@if(ViewBag.WarnList.Length > 0)
{
    string warn_icon = "wenxingtishi.jpg";
    warn_info[] list = (warn_info[])ViewBag.WarnList;
    if (list.Length > 0)
    {
        warn_icon = list[0].icon_url;
    }
    warn_icon = Url.Content("~/Content/warn/" + warn_icon);
    <div  id="float-warning">
        @WarnPanel.CreateWarn(warn_icon,list)
        
    </div>
}  

<script type="text/javascript">
    $(function () {
        var len = '@ViewBag.WarnList.Length';
        if (len > 0) {
            $("#float-warning").adFloat({ width: 400, height: 170, top: 0, left: 0 })
        }
    });
</script>